package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.ClassAnswer;

import java.util.List;

/**
 * @ClassName ClassAnswerMapper
 * @Description TODO
 * @Author qiuye
 * @Date 2025年08月19日 0:33
 * @Version 1.0
 */
@Mapper
public interface ClassAnswerMapper {
    List<ClassAnswer> getClassAnswerById(int questionId);
    //    最后回复
    List<ClassAnswer> getClassAnswerHui(ClassAnswer classAnswer);
    //    添加回复
    int insertAnswer(ClassAnswer answer);
}
